﻿using System;

namespace Behaving.Tests
{
    public static class Looper
    {
        public static void For(Action<int> action, int count)
        {
            for (int i = 0; i < count; i++)
            {
                action(i);
            }
        }

        public static void For(Action action, int count)
        {
            for (int i = 0; i < count; i++)
            {
                action();
            }
        }
    }
}